﻿<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>ZY的核电站 (nuclear.in/out/cpp)</title>
</head>
<body>
<div id="wmd-preview" class="wmd-preview"><div class="md-section-divider"></div><div class="md-section-divider"></div><h1 data-anchor-id="6ouq" id="zy的核电站-nuclearinoutcpp">ZY的核电站 (nuclear.in/out/cpp)</h1><p data-anchor-id="tfum">时间限制: 5 s / 内存限制: 256 MB / 打开<code>O2</code>优化</p><div class="md-section-divider"></div><h2 data-anchor-id="vkgf" id="题目描述">题目描述</h2><blockquote data-anchor-id="gf8d" class="white-blockquote">
  <p>"ZY喜欢玩核电站。"</p>
</blockquote><p data-anchor-id="7cw6">ZY的核电站非常特殊。早在2038年，ZY就发现了高分子有机物的完全裂解可以释放大量的核能的原理（这句话纯属FP）。因此ZY的核电站反应堆里面全是<strong>高分子有机物</strong>，可惜<strong>只有一个</strong>。 <br>
为了使发电量尽可能大，ZY找到了一种能使有机物完全裂解的方式，使释放出来的能量最大。由于这是ZY的有机物，因此裂解方式也非常奇葩。下面是ZY在2039年的论文《论ZY对MC<a href="#fn:mc" id="fnref:mc" title="查看注脚" class="footnote">[1]</a>核电站的巨大贡献》中的节选片段：</p><blockquote data-anchor-id="u0l6" class="white-blockquote">
  <p>...... <br>
  我们的有机物是由<span class="MathJax_Preview"></span><span class="MathJax" id="MathJax-Element-3865-Frame" role="textbox" aria-readonly="true"><nobr><span class="math" id="MathJax-Span-18202" style="width: 0.751em; display: inline-block;"><span style="display: inline-block; position: relative; width: 0.644em; height: 0px; font-size: 117%;"><span style="position: absolute; clip: rect(1.926em 1000em 2.674em -0.478em); top: -2.508em; left: 0.003em;"><span class="mrow" id="MathJax-Span-18203"><span class="mi" id="MathJax-Span-18204" style="font-family: MathJax_Math; font-style: italic;">n</span></span><span style="display: inline-block; width: 0px; height: 2.513em;"></span></span></span><span style="border-left-width: 0.003em; border-left-style: solid; display: inline-block; overflow: hidden; width: 0px; height: 0.628em; vertical-align: -0.059em;"></span></span></nobr></span><script type="math/tex" id="MathJax-Element-3865">n</script>个各种原子构成的，原子之间通过不同的共价键相连。 <br>
  <img src="http://git.oschina.net/riteme/blogimg/raw/master/self-test-2016-5/zy-chem.png" alt="zy-chem"> <br>
  (<span class="MathJax_Preview"></span><span class="MathJax" id="MathJax-Element-3866-Frame" role="textbox" aria-readonly="true"><nobr><span class="math" id="MathJax-Span-18205" style="width: 0.964em; display: inline-block;"><span style="display: inline-block; position: relative; width: 0.804em; height: 0px; font-size: 117%;"><span style="position: absolute; clip: rect(1.926em 1000em 2.941em -0.478em); top: -2.775em; left: 0.003em;"><span class="mrow" id="MathJax-Span-18206"><span class="mtext" id="MathJax-Span-18207" style="font-family: MathJax_Main;">H</span></span><span style="display: inline-block; width: 0px; height: 2.78em;"></span></span></span><span style="border-left-width: 0.003em; border-left-style: solid; display: inline-block; overflow: hidden; width: 0px; height: 0.941em; vertical-align: -0.059em;"></span></span></nobr></span><script type="math/tex" id="MathJax-Element-3866">\text{H}</script>太多了，到时候这些没用的氢原子都会<strong>被ZY丢掉</strong>) <br>
  ...... <br>
  为了方便进行裂解，这个有机物是<strong>没有环</strong>的，这样就可以节约成本来买**V*P***...... <br>
  ...... <br>
  每次裂解都会<strong>断开一个共价键</strong>，此时这个有机物会<strong>分为两部分</strong>。并且释放大量的能量...... <br>
  设放出的能量为<span class="MathJax_Preview"></span><span class="MathJax" id="MathJax-Element-3867-Frame" role="textbox" aria-readonly="true"><nobr><span class="math" id="MathJax-Span-18208" style="width: 0.911em; display: inline-block;"><span style="display: inline-block; position: relative; width: 0.751em; height: 0px; font-size: 117%;"><span style="position: absolute; clip: rect(1.659em 1000em 2.674em -0.425em); top: -2.508em; left: 0.003em;"><span class="mrow" id="MathJax-Span-18209"><span class="mi" id="MathJax-Span-18210" style="font-family: MathJax_Math; font-style: italic;">E<span style="display: inline-block; overflow: hidden; height: 1px; width: 0.003em;"></span></span></span><span style="display: inline-block; width: 0px; height: 2.513em;"></span></span></span><span style="border-left-width: 0.003em; border-left-style: solid; display: inline-block; overflow: hidden; width: 0px; height: 0.941em; vertical-align: -0.059em;"></span></span></nobr></span><script type="math/tex" id="MathJax-Element-3867">E</script>，有机物裂解后的两部分的共价键的集合分别为<span class="MathJax_Preview"></span><span class="MathJax" id="MathJax-Element-3868-Frame" role="textbox" aria-readonly="true"><nobr><span class="math" id="MathJax-Span-18211" style="width: 0.964em; display: inline-block;"><span style="display: inline-block; position: relative; width: 0.804em; height: 0px; font-size: 117%;"><span style="position: absolute; clip: rect(1.659em 1000em 2.674em -0.425em); top: -2.508em; left: 0.003em;"><span class="mrow" id="MathJax-Span-18212"><span class="mi" id="MathJax-Span-18213" style="font-family: MathJax_Math; font-style: italic;">A</span></span><span style="display: inline-block; width: 0px; height: 2.513em;"></span></span></span><span style="border-left-width: 0.003em; border-left-style: solid; display: inline-block; overflow: hidden; width: 0px; height: 0.941em; vertical-align: -0.059em;"></span></span></nobr></span><script type="math/tex" id="MathJax-Element-3868">A</script>和<span class="MathJax_Preview"></span><span class="MathJax" id="MathJax-Element-3869-Frame" role="textbox" aria-readonly="true"><nobr><span class="math" id="MathJax-Span-18214" style="width: 0.964em; display: inline-block;"><span style="display: inline-block; position: relative; width: 0.804em; height: 0px; font-size: 117%;"><span style="position: absolute; clip: rect(1.659em 1000em 2.674em -0.425em); top: -2.508em; left: 0.003em;"><span class="mrow" id="MathJax-Span-18215"><span class="mi" id="MathJax-Span-18216" style="font-family: MathJax_Math; font-style: italic;">B</span></span><span style="display: inline-block; width: 0px; height: 2.513em;"></span></span></span><span style="border-left-width: 0.003em; border-left-style: solid; display: inline-block; overflow: hidden; width: 0px; height: 0.941em; vertical-align: -0.059em;"></span></span></nobr></span><script type="math/tex" id="MathJax-Element-3869">B</script>，则：、 <br>
  <span class="MathJax_Preview"></span><div class="MathJax_Display" role="textbox" aria-readonly="true"><span class="MathJax" id="MathJax-Element-3870-Frame"><nobr><span class="math" id="MathJax-Span-18217" style="width: 100%; display: inline-block; min-width: 36.327em;"><span style="display: inline-block; position: relative; width: 100%; height: 0px; font-size: 117%; min-width: 36.327em;"><span style="position: absolute; clip: rect(2.513em 1000em 5.024em -0.478em); top: -4.004em; left: 0.003em; width: 100%;"><span class="mrow" id="MathJax-Span-18218"><span class="mtable" id="MathJax-Span-18219" style="min-width: 36.327em;"><span style="display: inline-block; position: relative; width: 100%; height: 0px; min-width: 36.327em;"><span style="display: inline-block; position: absolute; width: 13.571em; height: 0px; clip: rect(-1.493em 1000em 1.018em -0.425em); top: 0.003em; left: 50%; margin-left: -6.782em;"><span style="position: absolute; clip: rect(2.513em 1000em 5.024em -0.425em); top: -4.004em; left: 0.003em;"><span style="display: inline-block; position: relative; width: 13.571em; height: 0px;"><span style="position: absolute; clip: rect(1.659em 1000em 4.169em -0.425em); top: -3.149em; left: 50%; margin-left: -6.782em;"><span class="mtd" id="MathJax-Span-18223"><span class="mrow" id="MathJax-Span-18224"><span class="mi" id="MathJax-Span-18225" style="font-family: MathJax_Math; font-style: italic;">E<span style="display: inline-block; overflow: hidden; height: 1px; width: 0.003em;"></span></span><span class="mo" id="MathJax-Span-18226" style="font-family: MathJax_Main; padding-left: 0.27em;">=</span><span class="munderover" id="MathJax-Span-18227" style="padding-left: 0.27em;"><span style="display: inline-block; position: relative; width: 1.445em; height: 0px;"><span style="position: absolute; clip: rect(2.674em 1000em 4.383em -0.425em); top: -3.79em; left: 0.003em;"><span class="mo" id="MathJax-Span-18228" style="font-family: MathJax_Size2; vertical-align: 0.003em;">∑</span><span style="display: inline-block; width: 0px; height: 3.795em;"></span></span><span style="position: absolute; clip: rect(1.712em 1000em 2.62em -0.478em); top: -1.226em; left: 0.003em;"><span class="texatom" id="MathJax-Span-18229"><span class="mrow" id="MathJax-Span-18230"><span class="mi" id="MathJax-Span-18231" style="font-size: 70.7%; font-family: MathJax_Math; font-style: italic;">a</span><span class="mo" id="MathJax-Span-18232" style="font-size: 70.7%; font-family: MathJax_Main;">∈</span><span class="mi" id="MathJax-Span-18233" style="font-size: 70.7%; font-family: MathJax_Math; font-style: italic;">A</span></span></span><span style="display: inline-block; width: 0px; height: 2.353em;"></span></span></span></span><span class="mi" id="MathJax-Span-18234" style="font-family: MathJax_Math; font-style: italic; padding-left: 0.163em;">a</span><span class="mo" id="MathJax-Span-18235" style="font-family: MathJax_Main;">.</span><span class="mtext" id="MathJax-Span-18236" style="font-family: MathJax_Main; padding-left: 0.163em;">energy</span><span class="mo" id="MathJax-Span-18237" style="font-family: MathJax_Main; padding-left: 0.216em;">⋅</span><span class="munderover" id="MathJax-Span-18238" style="padding-left: 0.216em;"><span style="display: inline-block; position: relative; width: 1.445em; height: 0px;"><span style="position: absolute; clip: rect(2.674em 1000em 4.383em -0.425em); top: -3.79em; left: 0.003em;"><span class="mo" id="MathJax-Span-18239" style="font-family: MathJax_Size2; vertical-align: 0.003em;">∑</span><span style="display: inline-block; width: 0px; height: 3.795em;"></span></span><span style="position: absolute; clip: rect(1.712em 1000em 2.62em -0.425em); top: -1.226em; left: 0.056em;"><span class="texatom" id="MathJax-Span-18240"><span class="mrow" id="MathJax-Span-18241"><span class="mi" id="MathJax-Span-18242" style="font-size: 70.7%; font-family: MathJax_Math; font-style: italic;">b</span><span class="mo" id="MathJax-Span-18243" style="font-size: 70.7%; font-family: MathJax_Main;">∈</span><span class="mi" id="MathJax-Span-18244" style="font-size: 70.7%; font-family: MathJax_Math; font-style: italic;">B</span></span></span><span style="display: inline-block; width: 0px; height: 2.353em;"></span></span></span></span><span class="mi" id="MathJax-Span-18245" style="font-family: MathJax_Math; font-style: italic; padding-left: 0.163em;">b</span><span class="mo" id="MathJax-Span-18246" style="font-family: MathJax_Main;">.</span><span class="mtext" id="MathJax-Span-18247" style="font-family: MathJax_Main; padding-left: 0.163em;">energy</span></span></span><span style="display: inline-block; width: 0px; height: 2.78em;"></span></span></span><span style="display: inline-block; width: 0px; height: 4.009em;"></span></span></span><span style="display: inline-block; position: absolute; width: 9.778em; height: 0px; clip: rect(-1.333em 1000em 0.003em -0.478em); top: 0.003em; right: 0.003em; margin-left: 0.804em; margin-right: 0.804em;"><span style="position: absolute; clip: rect(1.872em 1000em 3.208em -0.478em); top: -3.149em; right: 0.003em;"><span class="mtd" id="mjx-eqn-ZYs energy theorem"><span class="mrow" id="MathJax-Span-18221"><span class="mtext" id="MathJax-Span-18222" style="font-family: MathJax_Main;">(ZY's energy theorem)</span></span></span><span style="display: inline-block; width: 0px; height: 2.78em;"></span></span></span></span></span></span><span style="display: inline-block; width: 0px; height: 4.009em;"></span></span></span><span style="border-left-width: 0.003em; border-left-style: solid; display: inline-block; overflow: hidden; width: 0px; height: 2.691em; vertical-align: -1.059em;"></span></span></nobr></span></div><script type="math/tex; mode=display" id="MathJax-Element-3870"> E = \sum_{a\in A} a.\text{energy} \cdot \sum_{b\in B} b.\text{energy} \tag{ZY's energy theorem}</script></p>
  
  <p>其中<span class="MathJax_Preview"></span><span class="MathJax" id="MathJax-Element-3871-Frame" role="textbox" aria-readonly="true"><nobr><span class="math" id="MathJax-Span-18248" style="width: 3.368em; display: inline-block;"><span style="display: inline-block; position: relative; width: 2.887em; height: 0px; font-size: 117%;"><span style="position: absolute; clip: rect(2.193em 1000em 3.154em -0.478em); top: -2.775em; left: 0.003em;"><span class="mrow" id="MathJax-Span-18249"><span class="mtext" id="MathJax-Span-18250" style="font-family: MathJax_Main;">energy</span></span><span style="display: inline-block; width: 0px; height: 2.78em;"></span></span></span><span style="border-left-width: 0.003em; border-left-style: solid; display: inline-block; overflow: hidden; width: 0px; height: 0.878em; vertical-align: -0.309em;"></span></span></nobr></span><script type="math/tex" id="MathJax-Element-3871">\text{energy}</script>表示共价键的能量。 <br>
  ...... <br>
  为了充分利用有机物中的能量，每裂解一个共价键后，我们有办法<strong>无损耗无成本</strong>的将其还原，即有机物会变得和裂解前一样。但是出于种种原因，这个共价键就<strong>不能再次进行裂解</strong>了。除非ZY发出<strong>SB之神力</strong>来使所有的共价键复活...... <br>
  ...... <br>
  那么，一个有机物完全裂解所能放出的能量为<strong>所有共价键裂解一次后所放出的能量之和</strong>。 <br>
  ......</p>
</blockquote><p data-anchor-id="o1jz">(实际上，ZY的这篇论文长达<span class="MathJax_Preview"></span><span class="MathJax" id="MathJax-Element-2937-Frame" role="textbox" aria-readonly="true"><nobr><span class="math" id="MathJax-Span-13288" style="width: 5.879em; display: inline-block;"><span style="display: inline-block; position: relative; width: 5.024em; height: 0px; font-size: 117%;"><span style="position: absolute; clip: rect(1.926em 1000em 2.941em -0.425em); top: -2.775em; left: 0.003em;"><span class="mrow" id="MathJax-Span-13289"><span class="mn" id="MathJax-Span-13290" style="font-family: MathJax_Main;">2147483647</span></span><span style="display: inline-block; width: 0px; height: 2.78em;"></span></span></span><span style="border-left-width: 0.003em; border-left-style: solid; display: inline-block; overflow: hidden; width: 0px; height: 0.941em; vertical-align: -0.059em;"></span></span></nobr></span><script type="math/tex" id="MathJax-Element-2937">2147483647</script>字)</p><p data-anchor-id="9sju">当然，ZY的智商理论上为<span class="MathJax_Preview"></span><span class="MathJax" id="MathJax-Element-4772-Frame" role="textbox" aria-readonly="true"><nobr><span class="math" id="MathJax-Span-25843" style="width: 2.139em; display: inline-block;"><span style="display: inline-block; position: relative; width: 1.819em; height: 0px; font-size: 117%;"><span style="position: absolute; clip: rect(2.193em 1000em 2.941em -0.371em); top: -2.775em; left: 0.003em;"><span class="mrow" id="MathJax-Span-25844"><span class="mo" id="MathJax-Span-25845" style="font-family: MathJax_Main;">−</span><span class="mi" id="MathJax-Span-25846" style="font-family: MathJax_Main;">∞</span></span><span style="display: inline-block; width: 0px; height: 2.78em;"></span></span></span><span style="border-left-width: 0.003em; border-left-style: solid; display: inline-block; overflow: hidden; width: 0px; height: 0.628em; vertical-align: -0.059em;"></span></span></nobr></span><script type="math/tex" id="MathJax-Element-4772">-\infty</script>。因此它的核电站其实<strong>非常辣鸡</strong>。反应堆中的有机物不一定是稳定的，但是ZY利用LCT算法以<span class="MathJax_Preview"></span><span class="MathJax" id="MathJax-Element-4773-Frame" role="textbox" aria-readonly="true"><nobr><span class="math" id="MathJax-Span-25847" style="width: 3.315em; display: inline-block;"><span style="display: inline-block; position: relative; width: 2.834em; height: 0px; font-size: 117%;"><span style="position: absolute; clip: rect(1.872em 1000em 3.208em -0.425em); top: -2.775em; left: 0.003em;"><span class="mrow" id="MathJax-Span-25848"><span class="mi" id="MathJax-Span-25849" style="font-family: MathJax_Math; font-style: italic;">O</span><span class="mo" id="MathJax-Span-25850" style="font-family: MathJax_Main;">(</span><span class="mi" id="MathJax-Span-25851" style="font-family: MathJax_Main;">∞</span><span class="mo" id="MathJax-Span-25852" style="font-family: MathJax_Main;">!</span><span class="mo" id="MathJax-Span-25853" style="font-family: MathJax_Main;">)</span></span><span style="display: inline-block; width: 0px; height: 2.78em;"></span></span></span><span style="border-left-width: 0.003em; border-left-style: solid; display: inline-block; overflow: hidden; width: 0px; height: 1.316em; vertical-align: -0.372em;"></span></span></nobr></span><script type="math/tex" id="MathJax-Element-4773">O(\infty!)</script>的时间复杂度内成功地<strong>保证了有机物的结构</strong>，这样就方便ZY发出<strong>SB之神力</strong>。但是令ZY想跳楼的是，总有一个共价键的能量在维护有机物结构时会<strong>变动</strong>。然而"机智"的ZY可以发现这些变化。 <br>
ZY只希望能够快速<strong>算出</strong>当前的有机物通过<strong>完全裂解</strong>究竟能放出多少能量。由于ZY的数学只有学前班水平，所以每当<strong>她</strong>算到一半时，这个有机物又开始乱搞了，ZY就只能用LCT来重新维护它。 <br>
一年之内，ZY的核电站什么电都没有发。为了快速计算，ZY找到了你这个**。 <br>
ZY希望你能给出一个好方法来帮助<strong>她</strong>计算<strong>当前有机物</strong>完全裂解能放出的能量。</p><div class="md-section-divider"></div><h2 data-anchor-id="w6v5" id="输入格式">输入格式</h2><p data-anchor-id="qe8k">第<span class="MathJax_Preview"></span><span class="MathJax" id="MathJax-Element-4774-Frame" role="textbox" aria-readonly="true"><nobr><span class="math" id="MathJax-Span-25854" style="width: 0.644em; display: inline-block;"><span style="display: inline-block; position: relative; width: 0.537em; height: 0px; font-size: 117%;"><span style="position: absolute; clip: rect(1.979em 1000em 2.941em -0.371em); top: -2.775em; left: 0.003em;"><span class="mrow" id="MathJax-Span-25855"><span class="mn" id="MathJax-Span-25856" style="font-family: MathJax_Main;">1</span></span><span style="display: inline-block; width: 0px; height: 2.78em;"></span></span></span><span style="border-left-width: 0.003em; border-left-style: solid; display: inline-block; overflow: hidden; width: 0px; height: 0.878em; vertical-align: -0.059em;"></span></span></nobr></span><script type="math/tex" id="MathJax-Element-4774">1</script>行输入两个正整数<span class="MathJax_Preview"></span><span class="MathJax" id="MathJax-Element-4775-Frame" role="textbox" aria-readonly="true"><nobr><span class="math" id="MathJax-Span-25857" style="width: 0.751em; display: inline-block;"><span style="display: inline-block; position: relative; width: 0.644em; height: 0px; font-size: 117%;"><span style="position: absolute; clip: rect(1.926em 1000em 2.674em -0.478em); top: -2.508em; left: 0.003em;"><span class="mrow" id="MathJax-Span-25858"><span class="mi" id="MathJax-Span-25859" style="font-family: MathJax_Math; font-style: italic;">n</span></span><span style="display: inline-block; width: 0px; height: 2.513em;"></span></span></span><span style="border-left-width: 0.003em; border-left-style: solid; display: inline-block; overflow: hidden; width: 0px; height: 0.628em; vertical-align: -0.059em;"></span></span></nobr></span><script type="math/tex" id="MathJax-Element-4775">n</script>，<span class="MathJax_Preview"></span><span class="MathJax" id="MathJax-Element-4776-Frame" role="textbox" aria-readonly="true"><nobr><span class="math" id="MathJax-Span-25860" style="width: 1.071em; display: inline-block;"><span style="display: inline-block; position: relative; width: 0.911em; height: 0px; font-size: 117%;"><span style="position: absolute; clip: rect(1.926em 1000em 2.674em -0.478em); top: -2.508em; left: 0.003em;"><span class="mrow" id="MathJax-Span-25861"><span class="mi" id="MathJax-Span-25862" style="font-family: MathJax_Math; font-style: italic;">m</span></span><span style="display: inline-block; width: 0px; height: 2.513em;"></span></span></span><span style="border-left-width: 0.003em; border-left-style: solid; display: inline-block; overflow: hidden; width: 0px; height: 0.628em; vertical-align: -0.059em;"></span></span></nobr></span><script type="math/tex" id="MathJax-Element-4776">m</script>。<span class="MathJax_Preview"></span><span class="MathJax" id="MathJax-Element-4777-Frame" role="textbox" aria-readonly="true"><nobr><span class="math" id="MathJax-Span-25863" style="width: 0.751em; display: inline-block;"><span style="display: inline-block; position: relative; width: 0.644em; height: 0px; font-size: 117%;"><span style="position: absolute; clip: rect(1.926em 1000em 2.674em -0.478em); top: -2.508em; left: 0.003em;"><span class="mrow" id="MathJax-Span-25864"><span class="mi" id="MathJax-Span-25865" style="font-family: MathJax_Math; font-style: italic;">n</span></span><span style="display: inline-block; width: 0px; height: 2.513em;"></span></span></span><span style="border-left-width: 0.003em; border-left-style: solid; display: inline-block; overflow: hidden; width: 0px; height: 0.628em; vertical-align: -0.059em;"></span></span></nobr></span><script type="math/tex" id="MathJax-Element-4777">n</script>表示有机物中原子的数量，<span class="MathJax_Preview"></span><span class="MathJax" id="MathJax-Element-4778-Frame" role="textbox" aria-readonly="true"><nobr><span class="math" id="MathJax-Span-25866" style="width: 1.071em; display: inline-block;"><span style="display: inline-block; position: relative; width: 0.911em; height: 0px; font-size: 117%;"><span style="position: absolute; clip: rect(1.926em 1000em 2.674em -0.478em); top: -2.508em; left: 0.003em;"><span class="mrow" id="MathJax-Span-25867"><span class="mi" id="MathJax-Span-25868" style="font-family: MathJax_Math; font-style: italic;">m</span></span><span style="display: inline-block; width: 0px; height: 2.513em;"></span></span></span><span style="border-left-width: 0.003em; border-left-style: solid; display: inline-block; overflow: hidden; width: 0px; height: 0.628em; vertical-align: -0.059em;"></span></span></nobr></span><script type="math/tex" id="MathJax-Element-4778">m</script>表示ZY维护有机物结构的次数。 <br>
接下来<span class="MathJax_Preview"></span><span class="MathJax" id="MathJax-Element-4779-Frame" role="textbox" aria-readonly="true"><nobr><span class="math" id="MathJax-Span-25869" style="width: 2.78em; display: inline-block;"><span style="display: inline-block; position: relative; width: 2.353em; height: 0px; font-size: 117%;"><span style="position: absolute; clip: rect(1.979em 1000em 2.941em -0.478em); top: -2.775em; left: 0.003em;"><span class="mrow" id="MathJax-Span-25870"><span class="mi" id="MathJax-Span-25871" style="font-family: MathJax_Math; font-style: italic;">n</span><span class="mo" id="MathJax-Span-25872" style="font-family: MathJax_Main; padding-left: 0.216em;">−</span><span class="mn" id="MathJax-Span-25873" style="font-family: MathJax_Main; padding-left: 0.216em;">1</span></span><span style="display: inline-block; width: 0px; height: 2.78em;"></span></span></span><span style="border-left-width: 0.003em; border-left-style: solid; display: inline-block; overflow: hidden; width: 0px; height: 0.941em; vertical-align: -0.059em;"></span></span></nobr></span><script type="math/tex" id="MathJax-Element-4779">n - 1</script>行描述一个有机物。对于每一行输入三个整数<span class="MathJax_Preview"></span><span class="MathJax" id="MathJax-Element-4780-Frame" role="textbox" aria-readonly="true"><nobr><span class="math" id="MathJax-Span-25874" style="width: 0.697em; display: inline-block;"><span style="display: inline-block; position: relative; width: 0.59em; height: 0px; font-size: 117%;"><span style="position: absolute; clip: rect(1.926em 1000em 2.674em -0.478em); top: -2.508em; left: 0.003em;"><span class="mrow" id="MathJax-Span-25875"><span class="mi" id="MathJax-Span-25876" style="font-family: MathJax_Math; font-style: italic;">u</span></span><span style="display: inline-block; width: 0px; height: 2.513em;"></span></span></span><span style="border-left-width: 0.003em; border-left-style: solid; display: inline-block; overflow: hidden; width: 0px; height: 0.628em; vertical-align: -0.059em;"></span></span></nobr></span><script type="math/tex" id="MathJax-Element-4780">u</script>，<span class="MathJax_Preview"></span><span class="MathJax" id="MathJax-Element-4781-Frame" role="textbox" aria-readonly="true"><nobr><span class="math" id="MathJax-Span-25877" style="width: 0.644em; display: inline-block;"><span style="display: inline-block; position: relative; width: 0.537em; height: 0px; font-size: 117%;"><span style="position: absolute; clip: rect(1.926em 1000em 2.674em -0.478em); top: -2.508em; left: 0.003em;"><span class="mrow" id="MathJax-Span-25878"><span class="mi" id="MathJax-Span-25879" style="font-family: MathJax_Math; font-style: italic;">v</span></span><span style="display: inline-block; width: 0px; height: 2.513em;"></span></span></span><span style="border-left-width: 0.003em; border-left-style: solid; display: inline-block; overflow: hidden; width: 0px; height: 0.628em; vertical-align: -0.059em;"></span></span></nobr></span><script type="math/tex" id="MathJax-Element-4781">v</script>和<span class="MathJax_Preview"></span><span class="MathJax" id="MathJax-Element-4782-Frame" role="textbox" aria-readonly="true"><nobr><span class="math" id="MathJax-Span-25880" style="width: 0.59em; display: inline-block;"><span style="display: inline-block; position: relative; width: 0.483em; height: 0px; font-size: 117%;"><span style="position: absolute; clip: rect(1.926em 1000em 2.674em -0.425em); top: -2.508em; left: 0.003em;"><span class="mrow" id="MathJax-Span-25881"><span class="mi" id="MathJax-Span-25882" style="font-family: MathJax_Math; font-style: italic;">e</span></span><span style="display: inline-block; width: 0px; height: 2.513em;"></span></span></span><span style="border-left-width: 0.003em; border-left-style: solid; display: inline-block; overflow: hidden; width: 0px; height: 0.628em; vertical-align: -0.059em;"></span></span></nobr></span><script type="math/tex" id="MathJax-Element-4782">e</script>，表示第<span class="MathJax_Preview"></span><span class="MathJax" id="MathJax-Element-4783-Frame" role="textbox" aria-readonly="true"><nobr><span class="math" id="MathJax-Span-25883" style="width: 0.697em; display: inline-block;"><span style="display: inline-block; position: relative; width: 0.59em; height: 0px; font-size: 117%;"><span style="position: absolute; clip: rect(1.926em 1000em 2.674em -0.478em); top: -2.508em; left: 0.003em;"><span class="mrow" id="MathJax-Span-25884"><span class="mi" id="MathJax-Span-25885" style="font-family: MathJax_Math; font-style: italic;">u</span></span><span style="display: inline-block; width: 0px; height: 2.513em;"></span></span></span><span style="border-left-width: 0.003em; border-left-style: solid; display: inline-block; overflow: hidden; width: 0px; height: 0.628em; vertical-align: -0.059em;"></span></span></nobr></span><script type="math/tex" id="MathJax-Element-4783">u</script>号原子和第<span class="MathJax_Preview"></span><span class="MathJax" id="MathJax-Element-4784-Frame" role="textbox" aria-readonly="true"><nobr><span class="math" id="MathJax-Span-25886" style="width: 0.644em; display: inline-block;"><span style="display: inline-block; position: relative; width: 0.537em; height: 0px; font-size: 117%;"><span style="position: absolute; clip: rect(1.926em 1000em 2.674em -0.478em); top: -2.508em; left: 0.003em;"><span class="mrow" id="MathJax-Span-25887"><span class="mi" id="MathJax-Span-25888" style="font-family: MathJax_Math; font-style: italic;">v</span></span><span style="display: inline-block; width: 0px; height: 2.513em;"></span></span></span><span style="border-left-width: 0.003em; border-left-style: solid; display: inline-block; overflow: hidden; width: 0px; height: 0.628em; vertical-align: -0.059em;"></span></span></nobr></span><script type="math/tex" id="MathJax-Element-4784">v</script>号原子之间以能量为<span class="MathJax_Preview"></span><span class="MathJax" id="MathJax-Element-4785-Frame" role="textbox" aria-readonly="true"><nobr><span class="math" id="MathJax-Span-25889" style="width: 0.59em; display: inline-block;"><span style="display: inline-block; position: relative; width: 0.483em; height: 0px; font-size: 117%;"><span style="position: absolute; clip: rect(1.926em 1000em 2.674em -0.425em); top: -2.508em; left: 0.003em;"><span class="mrow" id="MathJax-Span-25890"><span class="mi" id="MathJax-Span-25891" style="font-family: MathJax_Math; font-style: italic;">e</span></span><span style="display: inline-block; width: 0px; height: 2.513em;"></span></span></span><span style="border-left-width: 0.003em; border-left-style: solid; display: inline-block; overflow: hidden; width: 0px; height: 0.628em; vertical-align: -0.059em;"></span></span></nobr></span><script type="math/tex" id="MathJax-Element-4785">e</script>的共价键相连。 <br>
接下来<span class="MathJax_Preview"></span><span class="MathJax" id="MathJax-Element-4786-Frame" role="textbox" aria-readonly="true"><nobr><span class="math" id="MathJax-Span-25892" style="width: 1.071em; display: inline-block;"><span style="display: inline-block; position: relative; width: 0.911em; height: 0px; font-size: 117%;"><span style="position: absolute; clip: rect(1.926em 1000em 2.674em -0.478em); top: -2.508em; left: 0.003em;"><span class="mrow" id="MathJax-Span-25893"><span class="mi" id="MathJax-Span-25894" style="font-family: MathJax_Math; font-style: italic;">m</span></span><span style="display: inline-block; width: 0px; height: 2.513em;"></span></span></span><span style="border-left-width: 0.003em; border-left-style: solid; display: inline-block; overflow: hidden; width: 0px; height: 0.628em; vertical-align: -0.059em;"></span></span></nobr></span><script type="math/tex" id="MathJax-Element-4786">m</script>行，每一行描述一个共价键的键能变化。每行输入三个整数<span class="MathJax_Preview"></span><span class="MathJax" id="MathJax-Element-4787-Frame" role="textbox" aria-readonly="true"><nobr><span class="math" id="MathJax-Span-25895" style="width: 0.697em; display: inline-block;"><span style="display: inline-block; position: relative; width: 0.59em; height: 0px; font-size: 117%;"><span style="position: absolute; clip: rect(1.926em 1000em 2.674em -0.478em); top: -2.508em; left: 0.003em;"><span class="mrow" id="MathJax-Span-25896"><span class="mi" id="MathJax-Span-25897" style="font-family: MathJax_Math; font-style: italic;">u</span></span><span style="display: inline-block; width: 0px; height: 2.513em;"></span></span></span><span style="border-left-width: 0.003em; border-left-style: solid; display: inline-block; overflow: hidden; width: 0px; height: 0.628em; vertical-align: -0.059em;"></span></span></nobr></span><script type="math/tex" id="MathJax-Element-4787">u</script>，<span class="MathJax_Preview"></span><span class="MathJax" id="MathJax-Element-4788-Frame" role="textbox" aria-readonly="true"><nobr><span class="math" id="MathJax-Span-25898" style="width: 0.644em; display: inline-block;"><span style="display: inline-block; position: relative; width: 0.537em; height: 0px; font-size: 117%;"><span style="position: absolute; clip: rect(1.926em 1000em 2.674em -0.478em); top: -2.508em; left: 0.003em;"><span class="mrow" id="MathJax-Span-25899"><span class="mi" id="MathJax-Span-25900" style="font-family: MathJax_Math; font-style: italic;">v</span></span><span style="display: inline-block; width: 0px; height: 2.513em;"></span></span></span><span style="border-left-width: 0.003em; border-left-style: solid; display: inline-block; overflow: hidden; width: 0px; height: 0.628em; vertical-align: -0.059em;"></span></span></nobr></span><script type="math/tex" id="MathJax-Element-4788">v</script>和<span class="MathJax_Preview"></span><span class="MathJax" id="MathJax-Element-4789-Frame" role="textbox" aria-readonly="true"><nobr><span class="math" id="MathJax-Span-25901" style="width: 0.59em; display: inline-block;"><span style="display: inline-block; position: relative; width: 0.483em; height: 0px; font-size: 117%;"><span style="position: absolute; clip: rect(1.926em 1000em 2.674em -0.425em); top: -2.508em; left: 0.003em;"><span class="mrow" id="MathJax-Span-25902"><span class="mi" id="MathJax-Span-25903" style="font-family: MathJax_Math; font-style: italic;">e</span></span><span style="display: inline-block; width: 0px; height: 2.513em;"></span></span></span><span style="border-left-width: 0.003em; border-left-style: solid; display: inline-block; overflow: hidden; width: 0px; height: 0.628em; vertical-align: -0.059em;"></span></span></nobr></span><script type="math/tex" id="MathJax-Element-4789">e</script>，表示第<span class="MathJax_Preview"></span><span class="MathJax" id="MathJax-Element-4790-Frame" role="textbox" aria-readonly="true"><nobr><span class="math" id="MathJax-Span-25904" style="width: 0.697em; display: inline-block;"><span style="display: inline-block; position: relative; width: 0.59em; height: 0px; font-size: 117%;"><span style="position: absolute; clip: rect(1.926em 1000em 2.674em -0.478em); top: -2.508em; left: 0.003em;"><span class="mrow" id="MathJax-Span-25905"><span class="mi" id="MathJax-Span-25906" style="font-family: MathJax_Math; font-style: italic;">u</span></span><span style="display: inline-block; width: 0px; height: 2.513em;"></span></span></span><span style="border-left-width: 0.003em; border-left-style: solid; display: inline-block; overflow: hidden; width: 0px; height: 0.628em; vertical-align: -0.059em;"></span></span></nobr></span><script type="math/tex" id="MathJax-Element-4790">u</script>号原子和第<span class="MathJax_Preview"></span><span class="MathJax" id="MathJax-Element-4791-Frame" role="textbox" aria-readonly="true"><nobr><span class="math" id="MathJax-Span-25907" style="width: 0.644em; display: inline-block;"><span style="display: inline-block; position: relative; width: 0.537em; height: 0px; font-size: 117%;"><span style="position: absolute; clip: rect(1.926em 1000em 2.674em -0.478em); top: -2.508em; left: 0.003em;"><span class="mrow" id="MathJax-Span-25908"><span class="mi" id="MathJax-Span-25909" style="font-family: MathJax_Math; font-style: italic;">v</span></span><span style="display: inline-block; width: 0px; height: 2.513em;"></span></span></span><span style="border-left-width: 0.003em; border-left-style: solid; display: inline-block; overflow: hidden; width: 0px; height: 0.628em; vertical-align: -0.059em;"></span></span></nobr></span><script type="math/tex" id="MathJax-Element-4791">v</script>号原子之间的共价键的能量变为<span class="MathJax_Preview"></span><span class="MathJax" id="MathJax-Element-4792-Frame" role="textbox" aria-readonly="true"><nobr><span class="math" id="MathJax-Span-25910" style="width: 0.59em; display: inline-block;"><span style="display: inline-block; position: relative; width: 0.483em; height: 0px; font-size: 117%;"><span style="position: absolute; clip: rect(1.926em 1000em 2.674em -0.425em); top: -2.508em; left: 0.003em;"><span class="mrow" id="MathJax-Span-25911"><span class="mi" id="MathJax-Span-25912" style="font-family: MathJax_Math; font-style: italic;">e</span></span><span style="display: inline-block; width: 0px; height: 2.513em;"></span></span></span><span style="border-left-width: 0.003em; border-left-style: solid; display: inline-block; overflow: hidden; width: 0px; height: 0.628em; vertical-align: -0.059em;"></span></span></nobr></span><script type="math/tex" id="MathJax-Element-4792">e</script>。保证第<span class="MathJax_Preview"></span><span class="MathJax" id="MathJax-Element-4793-Frame" role="textbox" aria-readonly="true"><nobr><span class="math" id="MathJax-Span-25913" style="width: 0.697em; display: inline-block;"><span style="display: inline-block; position: relative; width: 0.59em; height: 0px; font-size: 117%;"><span style="position: absolute; clip: rect(1.926em 1000em 2.674em -0.478em); top: -2.508em; left: 0.003em;"><span class="mrow" id="MathJax-Span-25914"><span class="mi" id="MathJax-Span-25915" style="font-family: MathJax_Math; font-style: italic;">u</span></span><span style="display: inline-block; width: 0px; height: 2.513em;"></span></span></span><span style="border-left-width: 0.003em; border-left-style: solid; display: inline-block; overflow: hidden; width: 0px; height: 0.628em; vertical-align: -0.059em;"></span></span></nobr></span><script type="math/tex" id="MathJax-Element-4793">u</script>号原子和第<span class="MathJax_Preview"></span><span class="MathJax" id="MathJax-Element-4794-Frame" role="textbox" aria-readonly="true"><nobr><span class="math" id="MathJax-Span-25916" style="width: 0.644em; display: inline-block;"><span style="display: inline-block; position: relative; width: 0.537em; height: 0px; font-size: 117%;"><span style="position: absolute; clip: rect(1.926em 1000em 2.674em -0.478em); top: -2.508em; left: 0.003em;"><span class="mrow" id="MathJax-Span-25917"><span class="mi" id="MathJax-Span-25918" style="font-family: MathJax_Math; font-style: italic;">v</span></span><span style="display: inline-block; width: 0px; height: 2.513em;"></span></span></span><span style="border-left-width: 0.003em; border-left-style: solid; display: inline-block; overflow: hidden; width: 0px; height: 0.628em; vertical-align: -0.059em;"></span></span></nobr></span><script type="math/tex" id="MathJax-Element-4794">v</script>号原子之间存在共价键。</p><div class="md-section-divider"></div><h2 data-anchor-id="mqgo" id="输出格式">输出格式</h2><p data-anchor-id="mzo7">对于每次共价键能量的变动，输出一行一个整数，表示<strong>键能改变后</strong>的有机物完全裂解能放出的能量。</p><div class="md-section-divider"></div><h2 data-anchor-id="hreb" id="输入样例">输入样例</h2><div class="md-section-divider"></div><pre class="prettyprint linenums prettyprinted" data-anchor-id="fh75"><ol class="linenums"><li class="L0"><code><span class="lit">7</span><span class="pln"> </span><span class="lit">4</span></code></li><li class="L1"><code><span class="lit">1</span><span class="pln"> </span><span class="lit">2</span><span class="pln"> </span><span class="lit">2</span></code></li><li class="L2"><code><span class="lit">1</span><span class="pln"> </span><span class="lit">7</span><span class="pln"> </span><span class="lit">1</span></code></li><li class="L3"><code><span class="lit">2</span><span class="pln"> </span><span class="lit">3</span><span class="pln"> </span><span class="lit">2</span></code></li><li class="L4"><code><span class="lit">2</span><span class="pln"> </span><span class="lit">6</span><span class="pln"> </span><span class="lit">1</span></code></li><li class="L5"><code><span class="lit">3</span><span class="pln"> </span><span class="lit">4</span><span class="pln"> </span><span class="lit">1</span></code></li><li class="L6"><code><span class="lit">3</span><span class="pln"> </span><span class="lit">5</span><span class="pln"> </span><span class="lit">1</span></code></li><li class="L7"><code></code></li><li class="L8"><code><span class="lit">1</span><span class="pln"> </span><span class="lit">2</span><span class="pln"> </span><span class="lit">2</span></code></li><li class="L9"><code><span class="lit">1</span><span class="pln"> </span><span class="lit">2</span><span class="pln"> </span><span class="lit">3</span></code></li><li class="L0"><code><span class="lit">2</span><span class="pln"> </span><span class="lit">3</span><span class="pln"> </span><span class="lit">3</span></code></li><li class="L1"><code><span class="lit">1</span><span class="pln"> </span><span class="lit">2</span><span class="pln"> </span><span class="lit">0</span></code></li></ol></pre><div class="md-section-divider"></div><h2 data-anchor-id="8s2r" id="输出样例">输出样例</h2><div class="md-section-divider"></div><pre class="prettyprint linenums prettyprinted" data-anchor-id="n2wo"><ol class="linenums"><li class="L0"><code><span class="lit">13</span></code></li><li class="L1"><code><span class="lit">15</span></code></li><li class="L2"><code><span class="lit">16</span></code></li><li class="L3"><code><span class="lit">10</span></code></li></ol></pre><div class="md-section-divider"></div><h2 data-anchor-id="p31n" id="数据范围及提示">数据范围及提示</h2><p data-anchor-id="gbrt">对于第一个询问: <br>
裂解<span class="MathJax_Preview"></span><span class="MathJax" id="MathJax-Element-4795-Frame" role="textbox" aria-readonly="true"><nobr><span class="math" id="MathJax-Span-25919" style="width: 0.644em; display: inline-block;"><span style="display: inline-block; position: relative; width: 0.537em; height: 0px; font-size: 117%;"><span style="position: absolute; clip: rect(1.979em 1000em 2.941em -0.371em); top: -2.775em; left: 0.003em;"><span class="mrow" id="MathJax-Span-25920"><span class="mn" id="MathJax-Span-25921" style="font-family: MathJax_Main;">1</span></span><span style="display: inline-block; width: 0px; height: 2.78em;"></span></span></span><span style="border-left-width: 0.003em; border-left-style: solid; display: inline-block; overflow: hidden; width: 0px; height: 0.878em; vertical-align: -0.059em;"></span></span></nobr></span><script type="math/tex" id="MathJax-Element-4795">1</script>和<span class="MathJax_Preview"></span><span class="MathJax" id="MathJax-Element-4796-Frame" role="textbox" aria-readonly="true"><nobr><span class="math" id="MathJax-Span-25922" style="width: 0.644em; display: inline-block;"><span style="display: inline-block; position: relative; width: 0.537em; height: 0px; font-size: 117%;"><span style="position: absolute; clip: rect(1.979em 1000em 2.941em -0.425em); top: -2.775em; left: 0.003em;"><span class="mrow" id="MathJax-Span-25923"><span class="mn" id="MathJax-Span-25924" style="font-family: MathJax_Main;">2</span></span><span style="display: inline-block; width: 0px; height: 2.78em;"></span></span></span><span style="border-left-width: 0.003em; border-left-style: solid; display: inline-block; overflow: hidden; width: 0px; height: 0.878em; vertical-align: -0.059em;"></span></span></nobr></span><script type="math/tex" id="MathJax-Element-4796">2</script>之间的共价键: <span class="MathJax_Preview"></span><span class="MathJax" id="MathJax-Element-4797-Frame" role="textbox" aria-readonly="true"><nobr><span class="math" id="MathJax-Span-25925" style="width: 11.648em; display: inline-block;"><span style="display: inline-block; position: relative; width: 9.939em; height: 0px; font-size: 117%;"><span style="position: absolute; clip: rect(1.872em 1000em 3.208em -0.371em); top: -2.775em; left: 0.003em;"><span class="mrow" id="MathJax-Span-25926"><span class="mn" id="MathJax-Span-25927" style="font-family: MathJax_Main;">1</span><span class="mo" id="MathJax-Span-25928" style="font-family: MathJax_Main; padding-left: 0.216em;">×</span><span class="mo" id="MathJax-Span-25929" style="font-family: MathJax_Main; padding-left: 0.216em;">(</span><span class="mn" id="MathJax-Span-25930" style="font-family: MathJax_Main;">2</span><span class="mo" id="MathJax-Span-25931" style="font-family: MathJax_Main; padding-left: 0.216em;">+</span><span class="mn" id="MathJax-Span-25932" style="font-family: MathJax_Main; padding-left: 0.216em;">1</span><span class="mo" id="MathJax-Span-25933" style="font-family: MathJax_Main; padding-left: 0.216em;">+</span><span class="mn" id="MathJax-Span-25934" style="font-family: MathJax_Main; padding-left: 0.216em;">1</span><span class="mo" id="MathJax-Span-25935" style="font-family: MathJax_Main; padding-left: 0.216em;">+</span><span class="mn" id="MathJax-Span-25936" style="font-family: MathJax_Main; padding-left: 0.216em;">1</span><span class="mo" id="MathJax-Span-25937" style="font-family: MathJax_Main;">)</span><span class="mo" id="MathJax-Span-25938" style="font-family: MathJax_Main; padding-left: 0.27em;">=</span><span class="mn" id="MathJax-Span-25939" style="font-family: MathJax_Main; padding-left: 0.27em;">5</span></span><span style="display: inline-block; width: 0px; height: 2.78em;"></span></span></span><span style="border-left-width: 0.003em; border-left-style: solid; display: inline-block; overflow: hidden; width: 0px; height: 1.316em; vertical-align: -0.372em;"></span></span></nobr></span><script type="math/tex" id="MathJax-Element-4797">1 \times (2 + 1 + 1 + 1) = 5</script> <br>
裂解<span class="MathJax_Preview"></span><span class="MathJax" id="MathJax-Element-4798-Frame" role="textbox" aria-readonly="true"><nobr><span class="math" id="MathJax-Span-25940" style="width: 0.644em; display: inline-block;"><span style="display: inline-block; position: relative; width: 0.537em; height: 0px; font-size: 117%;"><span style="position: absolute; clip: rect(1.979em 1000em 2.941em -0.425em); top: -2.775em; left: 0.003em;"><span class="mrow" id="MathJax-Span-25941"><span class="mn" id="MathJax-Span-25942" style="font-family: MathJax_Main;">2</span></span><span style="display: inline-block; width: 0px; height: 2.78em;"></span></span></span><span style="border-left-width: 0.003em; border-left-style: solid; display: inline-block; overflow: hidden; width: 0px; height: 0.878em; vertical-align: -0.059em;"></span></span></nobr></span><script type="math/tex" id="MathJax-Element-4798">2</script>和<span class="MathJax_Preview"></span><span class="MathJax" id="MathJax-Element-4799-Frame" role="textbox" aria-readonly="true"><nobr><span class="math" id="MathJax-Span-25943" style="width: 0.644em; display: inline-block;"><span style="display: inline-block; position: relative; width: 0.537em; height: 0px; font-size: 117%;"><span style="position: absolute; clip: rect(1.979em 1000em 2.941em -0.425em); top: -2.775em; left: 0.003em;"><span class="mrow" id="MathJax-Span-25944"><span class="mn" id="MathJax-Span-25945" style="font-family: MathJax_Main;">3</span></span><span style="display: inline-block; width: 0px; height: 2.78em;"></span></span></span><span style="border-left-width: 0.003em; border-left-style: solid; display: inline-block; overflow: hidden; width: 0px; height: 0.941em; vertical-align: -0.059em;"></span></span></nobr></span><script type="math/tex" id="MathJax-Element-4799">3</script>之间的共价键: <span class="MathJax_Preview"></span><span class="MathJax" id="MathJax-Element-4800-Frame" role="textbox" aria-readonly="true"><nobr><span class="math" id="MathJax-Span-25946" style="width: 12.503em; display: inline-block;"><span style="display: inline-block; position: relative; width: 10.686em; height: 0px; font-size: 117%;"><span style="position: absolute; clip: rect(1.872em 1000em 3.208em -0.371em); top: -2.775em; left: 0.003em;"><span class="mrow" id="MathJax-Span-25947"><span class="mo" id="MathJax-Span-25948" style="font-family: MathJax_Main;">(</span><span class="mn" id="MathJax-Span-25949" style="font-family: MathJax_Main;">2</span><span class="mo" id="MathJax-Span-25950" style="font-family: MathJax_Main; padding-left: 0.216em;">+</span><span class="mn" id="MathJax-Span-25951" style="font-family: MathJax_Main; padding-left: 0.216em;">1</span><span class="mo" id="MathJax-Span-25952" style="font-family: MathJax_Main; padding-left: 0.216em;">+</span><span class="mn" id="MathJax-Span-25953" style="font-family: MathJax_Main; padding-left: 0.216em;">1</span><span class="mo" id="MathJax-Span-25954" style="font-family: MathJax_Main;">)</span><span class="mo" id="MathJax-Span-25955" style="font-family: MathJax_Main; padding-left: 0.216em;">×</span><span class="mo" id="MathJax-Span-25956" style="font-family: MathJax_Main; padding-left: 0.216em;">(</span><span class="mn" id="MathJax-Span-25957" style="font-family: MathJax_Main;">1</span><span class="mo" id="MathJax-Span-25958" style="font-family: MathJax_Main; padding-left: 0.216em;">+</span><span class="mn" id="MathJax-Span-25959" style="font-family: MathJax_Main; padding-left: 0.216em;">1</span><span class="mo" id="MathJax-Span-25960" style="font-family: MathJax_Main;">)</span><span class="mo" id="MathJax-Span-25961" style="font-family: MathJax_Main; padding-left: 0.27em;">=</span><span class="mn" id="MathJax-Span-25962" style="font-family: MathJax_Main; padding-left: 0.27em;">8</span></span><span style="display: inline-block; width: 0px; height: 2.78em;"></span></span></span><span style="border-left-width: 0.003em; border-left-style: solid; display: inline-block; overflow: hidden; width: 0px; height: 1.316em; vertical-align: -0.372em;"></span></span></nobr></span><script type="math/tex" id="MathJax-Element-4800">(2 + 1 + 1) \times (1 + 1) = 8</script> <br>
其余的共价键裂解得到的能量均为<span class="MathJax_Preview"></span><span class="MathJax" id="MathJax-Element-4801-Frame" role="textbox" aria-readonly="true"><nobr><span class="math" id="MathJax-Span-25963" style="width: 0.644em; display: inline-block;"><span style="display: inline-block; position: relative; width: 0.537em; height: 0px; font-size: 117%;"><span style="position: absolute; clip: rect(1.979em 1000em 2.941em -0.425em); top: -2.775em; left: 0.003em;"><span class="mrow" id="MathJax-Span-25964"><span class="mn" id="MathJax-Span-25965" style="font-family: MathJax_Main;">0</span></span><span style="display: inline-block; width: 0px; height: 2.78em;"></span></span></span><span style="border-left-width: 0.003em; border-left-style: solid; display: inline-block; overflow: hidden; width: 0px; height: 0.941em; vertical-align: -0.059em;"></span></span></nobr></span><script type="math/tex" id="MathJax-Element-4801">0</script>。 <br>
因此答案为<span class="MathJax_Preview"></span><span class="MathJax" id="MathJax-Element-4802-Frame" role="textbox" aria-readonly="true"><nobr><span class="math" id="MathJax-Span-25966" style="width: 1.231em; display: inline-block;"><span style="display: inline-block; position: relative; width: 1.018em; height: 0px; font-size: 117%;"><span style="position: absolute; clip: rect(1.979em 1000em 2.941em -0.371em); top: -2.775em; left: 0.003em;"><span class="mrow" id="MathJax-Span-25967"><span class="mn" id="MathJax-Span-25968" style="font-family: MathJax_Main;">13</span></span><span style="display: inline-block; width: 0px; height: 2.78em;"></span></span></span><span style="border-left-width: 0.003em; border-left-style: solid; display: inline-block; overflow: hidden; width: 0px; height: 0.941em; vertical-align: -0.059em;"></span></span></nobr></span><script type="math/tex" id="MathJax-Element-4802">13</script>。</p><p data-anchor-id="1r4i">对于<span class="MathJax_Preview"></span><span class="MathJax" id="MathJax-Element-4803-Frame" role="textbox" aria-readonly="true"><nobr><span class="math" id="MathJax-Span-25969" style="width: 2.193em; display: inline-block;"><span style="display: inline-block; position: relative; width: 1.872em; height: 0px; font-size: 117%;"><span style="position: absolute; clip: rect(1.872em 1000em 2.994em -0.371em); top: -2.775em; left: 0.003em;"><span class="mrow" id="MathJax-Span-25970"><span class="mn" id="MathJax-Span-25971" style="font-family: MathJax_Main;">10</span><span class="mi" id="MathJax-Span-25972" style="font-family: MathJax_Main;">%</span></span><span style="display: inline-block; width: 0px; height: 2.78em;"></span></span></span><span style="border-left-width: 0.003em; border-left-style: solid; display: inline-block; overflow: hidden; width: 0px; height: 1.066em; vertical-align: -0.122em;"></span></span></nobr></span><script type="math/tex" id="MathJax-Element-4803">10\%</script>的数据: <span class="MathJax_Preview"></span><span class="MathJax" id="MathJax-Element-4804-Frame" role="textbox" aria-readonly="true"><nobr><span class="math" id="MathJax-Span-25973" style="width: 11.381em; display: inline-block;"><span style="display: inline-block; position: relative; width: 9.725em; height: 0px; font-size: 117%;"><span style="position: absolute; clip: rect(1.979em 1000em 3.154em -0.478em); top: -2.775em; left: 0.003em;"><span class="mrow" id="MathJax-Span-25974"><span class="mi" id="MathJax-Span-25975" style="font-family: MathJax_Math; font-style: italic;">n</span><span class="mo" id="MathJax-Span-25976" style="font-family: MathJax_Main; padding-left: 0.27em;">≤</span><span class="mn" id="MathJax-Span-25977" style="font-family: MathJax_Main; padding-left: 0.27em;">1</span><span class="mo" id="MathJax-Span-25978" style="font-family: MathJax_Main;">,</span><span class="mn" id="MathJax-Span-25979" style="font-family: MathJax_Main; padding-left: 0.163em;">000</span><span class="mo" id="MathJax-Span-25980" style="font-family: MathJax_Main;">,</span><span class="mspace" id="MathJax-Span-25981" style="height: 0.003em; vertical-align: 0.003em; width: 0.27em; display: inline-block; overflow: hidden;"></span><span class="mi" id="MathJax-Span-25982" style="font-family: MathJax_Math; font-style: italic; padding-left: 0.163em;">m</span><span class="mo" id="MathJax-Span-25983" style="font-family: MathJax_Main; padding-left: 0.27em;">≤</span><span class="mn" id="MathJax-Span-25984" style="font-family: MathJax_Main; padding-left: 0.27em;">5</span><span class="mo" id="MathJax-Span-25985" style="font-family: MathJax_Main;">,</span><span class="mn" id="MathJax-Span-25986" style="font-family: MathJax_Main; padding-left: 0.163em;">000</span></span><span style="display: inline-block; width: 0px; height: 2.78em;"></span></span></span><span style="border-left-width: 0.003em; border-left-style: solid; display: inline-block; overflow: hidden; width: 0px; height: 1.128em; vertical-align: -0.309em;"></span></span></nobr></span><script type="math/tex" id="MathJax-Element-4804">n \le 1,000, \; m \le 5,000</script> <br>
对于<span class="MathJax_Preview"></span><span class="MathJax" id="MathJax-Element-4805-Frame" role="textbox" aria-readonly="true"><nobr><span class="math" id="MathJax-Span-25987" style="width: 2.193em; display: inline-block;"><span style="display: inline-block; position: relative; width: 1.872em; height: 0px; font-size: 117%;"><span style="position: absolute; clip: rect(1.872em 1000em 2.994em -0.371em); top: -2.775em; left: 0.003em;"><span class="mrow" id="MathJax-Span-25988"><span class="mn" id="MathJax-Span-25989" style="font-family: MathJax_Main;">10</span><span class="mi" id="MathJax-Span-25990" style="font-family: MathJax_Main;">%</span></span><span style="display: inline-block; width: 0px; height: 2.78em;"></span></span></span><span style="border-left-width: 0.003em; border-left-style: solid; display: inline-block; overflow: hidden; width: 0px; height: 1.066em; vertical-align: -0.122em;"></span></span></nobr></span><script type="math/tex" id="MathJax-Element-4805">10\%</script>的数据: <span class="MathJax_Preview"></span><span class="MathJax" id="MathJax-Element-4806-Frame" role="textbox" aria-readonly="true"><nobr><span class="math" id="MathJax-Span-25991" style="width: 13.144em; display: inline-block;"><span style="display: inline-block; position: relative; width: 11.221em; height: 0px; font-size: 117%;"><span style="position: absolute; clip: rect(1.979em 1000em 3.154em -0.478em); top: -2.775em; left: 0.003em;"><span class="mrow" id="MathJax-Span-25992"><span class="mi" id="MathJax-Span-25993" style="font-family: MathJax_Math; font-style: italic;">n</span><span class="mo" id="MathJax-Span-25994" style="font-family: MathJax_Main; padding-left: 0.27em;">≤</span><span class="mn" id="MathJax-Span-25995" style="font-family: MathJax_Main; padding-left: 0.27em;">10</span><span class="mo" id="MathJax-Span-25996" style="font-family: MathJax_Main;">,</span><span class="mn" id="MathJax-Span-25997" style="font-family: MathJax_Main; padding-left: 0.163em;">000</span><span class="mo" id="MathJax-Span-25998" style="font-family: MathJax_Main;">,</span><span class="mspace" id="MathJax-Span-25999" style="height: 0.003em; vertical-align: 0.003em; width: 0.27em; display: inline-block; overflow: hidden;"></span><span class="mi" id="MathJax-Span-26000" style="font-family: MathJax_Math; font-style: italic; padding-left: 0.163em;">m</span><span class="mo" id="MathJax-Span-26001" style="font-family: MathJax_Main; padding-left: 0.27em;">≤</span><span class="mn" id="MathJax-Span-26002" style="font-family: MathJax_Main; padding-left: 0.27em;">500</span><span class="mo" id="MathJax-Span-26003" style="font-family: MathJax_Main;">,</span><span class="mn" id="MathJax-Span-26004" style="font-family: MathJax_Main; padding-left: 0.163em;">000</span></span><span style="display: inline-block; width: 0px; height: 2.78em;"></span></span></span><span style="border-left-width: 0.003em; border-left-style: solid; display: inline-block; overflow: hidden; width: 0px; height: 1.128em; vertical-align: -0.309em;"></span></span></nobr></span><script type="math/tex" id="MathJax-Element-4806">n \le 10,000, \; m \le 500,000</script> <br>
对于<span class="MathJax_Preview"></span><span class="MathJax" id="MathJax-Element-4807-Frame" role="textbox" aria-readonly="true"><nobr><span class="math" id="MathJax-Span-26005" style="width: 2.193em; display: inline-block;"><span style="display: inline-block; position: relative; width: 1.872em; height: 0px; font-size: 117%;"><span style="position: absolute; clip: rect(1.872em 1000em 2.994em -0.371em); top: -2.775em; left: 0.003em;"><span class="mrow" id="MathJax-Span-26006"><span class="mn" id="MathJax-Span-26007" style="font-family: MathJax_Main;">10</span><span class="mi" id="MathJax-Span-26008" style="font-family: MathJax_Main;">%</span></span><span style="display: inline-block; width: 0px; height: 2.78em;"></span></span></span><span style="border-left-width: 0.003em; border-left-style: solid; display: inline-block; overflow: hidden; width: 0px; height: 1.066em; vertical-align: -0.122em;"></span></span></nobr></span><script type="math/tex" id="MathJax-Element-4807">10\%</script>的数据: <span class="MathJax_Preview"></span><span class="MathJax" id="MathJax-Element-4808-Frame" role="textbox" aria-readonly="true"><nobr><span class="math" id="MathJax-Span-26009" style="width: 11.434em; display: inline-block;"><span style="display: inline-block; position: relative; width: 9.778em; height: 0px; font-size: 117%;"><span style="position: absolute; clip: rect(1.979em 1000em 3.154em -0.478em); top: -2.775em; left: 0.003em;"><span class="mrow" id="MathJax-Span-26010"><span class="mi" id="MathJax-Span-26011" style="font-family: MathJax_Math; font-style: italic;">n</span><span class="mo" id="MathJax-Span-26012" style="font-family: MathJax_Main; padding-left: 0.27em;">≤</span><span class="mn" id="MathJax-Span-26013" style="font-family: MathJax_Main; padding-left: 0.27em;">100</span><span class="mo" id="MathJax-Span-26014" style="font-family: MathJax_Main;">,</span><span class="mn" id="MathJax-Span-26015" style="font-family: MathJax_Main; padding-left: 0.163em;">000</span><span class="mo" id="MathJax-Span-26016" style="font-family: MathJax_Main;">,</span><span class="mspace" id="MathJax-Span-26017" style="height: 0.003em; vertical-align: 0.003em; width: 0.27em; display: inline-block; overflow: hidden;"></span><span class="mi" id="MathJax-Span-26018" style="font-family: MathJax_Math; font-style: italic; padding-left: 0.163em;">m</span><span class="mo" id="MathJax-Span-26019" style="font-family: MathJax_Main; padding-left: 0.27em;">≤</span><span class="mn" id="MathJax-Span-26020" style="font-family: MathJax_Main; padding-left: 0.27em;">100</span></span><span style="display: inline-block; width: 0px; height: 2.78em;"></span></span></span><span style="border-left-width: 0.003em; border-left-style: solid; display: inline-block; overflow: hidden; width: 0px; height: 1.128em; vertical-align: -0.309em;"></span></span></nobr></span><script type="math/tex" id="MathJax-Element-4808">n \le 100,000, \; m \le 100</script> <br>
对于<span class="MathJax_Preview"></span><span class="MathJax" id="MathJax-Element-4809-Frame" role="textbox" aria-readonly="true"><nobr><span class="math" id="MathJax-Span-26021" style="width: 2.193em; display: inline-block;"><span style="display: inline-block; position: relative; width: 1.872em; height: 0px; font-size: 117%;"><span style="position: absolute; clip: rect(1.872em 1000em 2.994em -0.371em); top: -2.775em; left: 0.003em;"><span class="mrow" id="MathJax-Span-26022"><span class="mn" id="MathJax-Span-26023" style="font-family: MathJax_Main;">10</span><span class="mi" id="MathJax-Span-26024" style="font-family: MathJax_Main;">%</span></span><span style="display: inline-block; width: 0px; height: 2.78em;"></span></span></span><span style="border-left-width: 0.003em; border-left-style: solid; display: inline-block; overflow: hidden; width: 0px; height: 1.066em; vertical-align: -0.122em;"></span></span></nobr></span><script type="math/tex" id="MathJax-Element-4809">10\%</script>的数据: <span class="MathJax_Preview"></span><span class="MathJax" id="MathJax-Element-4810-Frame" role="textbox" aria-readonly="true"><nobr><span class="math" id="MathJax-Span-26025" style="width: 14.212em; display: inline-block;"><span style="display: inline-block; position: relative; width: 12.129em; height: 0px; font-size: 117%;"><span style="position: absolute; clip: rect(1.979em 1000em 3.154em -0.478em); top: -2.775em; left: 0.003em;"><span class="mrow" id="MathJax-Span-26026"><span class="mi" id="MathJax-Span-26027" style="font-family: MathJax_Math; font-style: italic;">n</span><span class="mo" id="MathJax-Span-26028" style="font-family: MathJax_Main; padding-left: 0.27em;">≤</span><span class="mn" id="MathJax-Span-26029" style="font-family: MathJax_Main; padding-left: 0.27em;">10</span><span class="mo" id="MathJax-Span-26030" style="font-family: MathJax_Main;">,</span><span class="mn" id="MathJax-Span-26031" style="font-family: MathJax_Main; padding-left: 0.163em;">000</span><span class="mo" id="MathJax-Span-26032" style="font-family: MathJax_Main;">,</span><span class="mspace" id="MathJax-Span-26033" style="height: 0.003em; vertical-align: 0.003em; width: 0.27em; display: inline-block; overflow: hidden;"></span><span class="mi" id="MathJax-Span-26034" style="font-family: MathJax_Math; font-style: italic; padding-left: 0.163em;">m</span><span class="mo" id="MathJax-Span-26035" style="font-family: MathJax_Main; padding-left: 0.27em;">≤</span><span class="mn" id="MathJax-Span-26036" style="font-family: MathJax_Main; padding-left: 0.27em;">1</span><span class="mo" id="MathJax-Span-26037" style="font-family: MathJax_Main;">,</span><span class="mn" id="MathJax-Span-26038" style="font-family: MathJax_Main; padding-left: 0.163em;">000</span><span class="mo" id="MathJax-Span-26039" style="font-family: MathJax_Main;">,</span><span class="mn" id="MathJax-Span-26040" style="font-family: MathJax_Main; padding-left: 0.163em;">000</span></span><span style="display: inline-block; width: 0px; height: 2.78em;"></span></span></span><span style="border-left-width: 0.003em; border-left-style: solid; display: inline-block; overflow: hidden; width: 0px; height: 1.128em; vertical-align: -0.309em;"></span></span></nobr></span><script type="math/tex" id="MathJax-Element-4810">n \le 10,000, \; m \le 1,000,000</script> <br>
对于另外<span class="MathJax_Preview"></span><span class="MathJax" id="MathJax-Element-4811-Frame" role="textbox" aria-readonly="true"><nobr><span class="math" id="MathJax-Span-26041" style="width: 2.193em; display: inline-block;"><span style="display: inline-block; position: relative; width: 1.872em; height: 0px; font-size: 117%;"><span style="position: absolute; clip: rect(1.872em 1000em 2.994em -0.425em); top: -2.775em; left: 0.003em;"><span class="mrow" id="MathJax-Span-26042"><span class="mn" id="MathJax-Span-26043" style="font-family: MathJax_Main;">20</span><span class="mi" id="MathJax-Span-26044" style="font-family: MathJax_Main;">%</span></span><span style="display: inline-block; width: 0px; height: 2.78em;"></span></span></span><span style="border-left-width: 0.003em; border-left-style: solid; display: inline-block; overflow: hidden; width: 0px; height: 1.066em; vertical-align: -0.122em;"></span></span></nobr></span><script type="math/tex" id="MathJax-Element-4811">20\%</script>的数据: <strong>有机物没有支链</strong>。 <br>
对于<span class="MathJax_Preview"></span><span class="MathJax" id="MathJax-Element-4812-Frame" role="textbox" aria-readonly="true"><nobr><span class="math" id="MathJax-Span-26045" style="width: 2.78em; display: inline-block;"><span style="display: inline-block; position: relative; width: 2.353em; height: 0px; font-size: 117%;"><span style="position: absolute; clip: rect(1.872em 1000em 2.994em -0.371em); top: -2.775em; left: 0.003em;"><span class="mrow" id="MathJax-Span-26046"><span class="mn" id="MathJax-Span-26047" style="font-family: MathJax_Main;">100</span><span class="mi" id="MathJax-Span-26048" style="font-family: MathJax_Main;">%</span></span><span style="display: inline-block; width: 0px; height: 2.78em;"></span></span></span><span style="border-left-width: 0.003em; border-left-style: solid; display: inline-block; overflow: hidden; width: 0px; height: 1.066em; vertical-align: -0.122em;"></span></span></nobr></span><script type="math/tex" id="MathJax-Element-4812">100\%</script>的数据: <span class="MathJax_Preview"></span><span class="MathJax" id="MathJax-Element-4813-Frame" role="textbox" aria-readonly="true"><nobr><span class="math" id="MathJax-Span-26049" style="width: 18.913em; display: inline-block;"><span style="display: inline-block; position: relative; width: 16.135em; height: 0px; font-size: 117%;"><span style="position: absolute; clip: rect(1.979em 1000em 3.154em -0.478em); top: -2.775em; left: 0.003em;"><span class="mrow" id="MathJax-Span-26050"><span class="mi" id="MathJax-Span-26051" style="font-family: MathJax_Math; font-style: italic;">n</span><span class="mo" id="MathJax-Span-26052" style="font-family: MathJax_Main; padding-left: 0.27em;">≤</span><span class="mn" id="MathJax-Span-26053" style="font-family: MathJax_Main; padding-left: 0.27em;">100</span><span class="mo" id="MathJax-Span-26054" style="font-family: MathJax_Main;">,</span><span class="mn" id="MathJax-Span-26055" style="font-family: MathJax_Main; padding-left: 0.163em;">000</span><span class="mo" id="MathJax-Span-26056" style="font-family: MathJax_Main;">,</span><span class="mspace" id="MathJax-Span-26057" style="height: 0.003em; vertical-align: 0.003em; width: 0.27em; display: inline-block; overflow: hidden;"></span><span class="mi" id="MathJax-Span-26058" style="font-family: MathJax_Math; font-style: italic; padding-left: 0.163em;">m</span><span class="mo" id="MathJax-Span-26059" style="font-family: MathJax_Main; padding-left: 0.27em;">≤</span><span class="mn" id="MathJax-Span-26060" style="font-family: MathJax_Main; padding-left: 0.27em;">1</span><span class="mo" id="MathJax-Span-26061" style="font-family: MathJax_Main;">,</span><span class="mn" id="MathJax-Span-26062" style="font-family: MathJax_Main; padding-left: 0.163em;">000</span><span class="mo" id="MathJax-Span-26063" style="font-family: MathJax_Main;">,</span><span class="mn" id="MathJax-Span-26064" style="font-family: MathJax_Main; padding-left: 0.163em;">000</span><span class="mo" id="MathJax-Span-26065" style="font-family: MathJax_Main;">,</span><span class="mspace" id="MathJax-Span-26066" style="height: 0.003em; vertical-align: 0.003em; width: 0.27em; display: inline-block; overflow: hidden;"></span><span class="mi" id="MathJax-Span-26067" style="font-family: MathJax_Math; font-style: italic; padding-left: 0.163em;">e</span><span class="mo" id="MathJax-Span-26068" style="font-family: MathJax_Main; padding-left: 0.27em;">≤</span><span class="mn" id="MathJax-Span-26069" style="font-family: MathJax_Main; padding-left: 0.27em;">10</span></span><span style="display: inline-block; width: 0px; height: 2.78em;"></span></span></span><span style="border-left-width: 0.003em; border-left-style: solid; display: inline-block; overflow: hidden; width: 0px; height: 1.128em; vertical-align: -0.309em;"></span></span></nobr></span><script type="math/tex" id="MathJax-Element-4813">n \le 100,000, \; m \le 1,000,000, \; e \le 10 </script></p><div class="footnotes" data-anchor-id="ocnj">
<hr>
<small>

<span id="fn:mc">[1] </span>ZY从不打摆。 <a href="#fnref:mc" title="回到文稿" class="reversefootnote">↩</a><br>

</small>
</div></div>
</body>
</html>